import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import SchoolLogo from './components/SchoolLogo.vue'
import App from './App.vue'
import router from './router'
import store from '@/store'
import VueBMap from 'vue-bmap-gl';
import 'vue-bmap-gl/dist/style.css'
import VueMapvgl  from 'vue-mapvgl';
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'yFCr011v0WGwcosRqgVobH3boG4fhRiD'
})

Vue.use(VueBMap);
Vue.use(VueMapvgl);
VueBMap.initBMapApiLoader({
  ak: 'yFCr011v0WGwcosRqgVobH3boG4fhRiD',
  v: '1.0'
});
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.component('SchoolLogo',SchoolLogo)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
